/*各个页面公共的样式*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,body{
    height: 100%;
}
body{
    background-image: url(../img/bg1.gif);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.nav{
    width: 100%;
    height: 50px;
    background-color: rgba(51,51,51,0.2);
    color: white;
    /*导航栏内的内容都是排列在一行的*/
    display: flex;
    align-items: center;
    font-size: 13px;
}
.nav img{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 30px;
    margin-right: 10px;
}
.nav .spacer {
    width: 75%;
}
.nav a{
    color: white;
    text-decoration: none;
    padding: 0 10px;
}
.container{
   /* 版心不能和窗口的一样宽 */
   width: 1000px;
   height: calc(100% - 50px);
   /* height: 100%; */
   margin: 0 auto;
   display: flex;
   justify-content: space-between;
}
.container .left{
    height: 100% ;
    width: 200px;
}
.container .right{
    height: 100%;
    width: 795px;
    background-color: rgba(255,255,255,0.7) ;
    border-radius: 10px;
    overflow: auto;
}
.card{
    background-color: rgba(255,255,255,0.7);
    border-radius: 10px;
    /* 这里的内边距可以让头像居中，设置的30培训以事实四个方向都是30px */
    padding: 30px;
}
.card img{
    width: 140px;
    height: 140px;
    /* 头像变圆形 */
    border-radius: 50%;
}
.card h3{
    text-align: center;
    font-size: 22px;
    padding: 5px;
}
.card a{
    /* 标签a默认是行内元素,转变为块级元素 */
    display: block;
    text-decoration: none;
    text-align: center;
    padding: 5px;
    color: rgb(122, 112, 112);
}
.card .counter{
    display: flex;
    justify-content: space-between;
    padding: 15px;
}



